"""
代码优化器安装配置
"""

from setuptools import setup, find_packages

with open("README.md", "r", encoding="utf-8") as fh:
    long_description = fh.read()

setup(
    name="code-optimizer",
    version="0.1.0",
    author="TencentCloud",
    author_email="support@tencentcloud.com",
    description="一个用于分析和优化代码的工具",
    long_description=long_description,
    long_description_content_type="text/markdown",
    url="https://github.com/TencentCloud/code-optimizer",
    packages=find_packages(),
    classifiers=[
        "Development Status :: 3 - Alpha",
        "Intended Audience :: Developers",
        "Topic :: Software Development :: Libraries :: Python Modules",
        "License :: OSI Approved :: MIT License",
        "Programming Language :: Python :: 3",
        "Programming Language :: Python :: 3.7",
        "Programming Language :: Python :: 3.8",
        "Programming Language :: Python :: 3.9",
        "Programming Language :: Python :: 3.10",
    ],
    python_requires=">=3.7",
    install_requires=[
        "requests>=2.25.0",
    ],
    entry_points={
        "console_scripts": [
            "code-optimizer=code_optimizer.cli:main",
        ],
    },
    include_package_data=True,
    zip_safe=False,
)